import assessCheckApi from './api'
import { axios } from '@/utils/request'
import router from '@/router/index'
import blobType from '@/common/blobType'
var menuType = blobType.menuType
var fywflcodeArr = blobType.fywflcodeArr
var fywflcode = ''

export function ocalityPostAction(data) {
  
  return axios({
    url: assessCheckApi.dict,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
export function jcyjpdjjpdjBydelete(data) {
  return axios({
    url: assessCheckApi.jcyjpdjjpdjBydelete,
    method:'delete' ,
    params:data,
    url_1:'outside'
  })
}

export function jcyjpdjexportByJpdj(params){
  return axios({
    url: assessCheckApi.jcyjpdjexportByJpdj,
    method:'get' ,
    params:params,
    url_1:'outside',
    responseType: 'arraybuffer'
  })
}

export function jcyjpdjexportByYjpdj(params){
  return axios({
    url: assessCheckApi.jcyjpdjexportByYjpdj,
    method:'get' ,
    params:params,
    url_1:'outside',
    responseType: 'arraybuffer'
  })
}
export function jcyjpdjyjpdjByHf(data) {
  return axios({
    url: assessCheckApi.jcyjpdjyjpdjByHf,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function jcyjpdjjpdjByJp(data) {
  return axios({
    url: assessCheckApi.jcyjpdjjpdjByJp,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function jcyjpdjjpdjByScyxrymd(params){
  return axios({
    url: assessCheckApi.jcyjpdjjpdjByScyxrymd,
    method:'get' ,
    params:params,
    url_1:'outside',
  })
}
export function jcyjpdjuploadBatchFile(params){
  return axios({
    url: assessCheckApi.jcyjpdjuploadBatchFile,
    method:'post' ,
    data:params,
    url_1:'outside',
  })
}
export function jcyjpdjqueryJpdjById(params){
  return axios({
    url: assessCheckApi.jcyjpdjqueryJpdjById,
    method:'get' ,
    params:params,
    url_1:'outside',
  })
}
